Fix create-agentic-workflow agent prompting patterns#6999
Conversation
- Update scheduling guidance to use fuzzy schedule syntax: schedule: daily/weekly - Remove recommendation for GitHub remote mode (already present) - Remove engine: copilot from templates (it's the default) - Add guidance to always include workflow_dispatch trigger - Add guidance for close-older-issues/discussions flag for daily reporting workflows - Add guidance for skip-if-match filter for daily improver workflows that create PRs - Update GitHub tool examples to show read-only operations with safe-outputs for writes Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
| @@ -49,9 +49,11 @@ Analyze the user's response and map it to agentic workflows. Ask clarifying ques | |||
| - 💡 If you detect the task requires **browser automation**, suggest the **`playwright`** tool. | |||
|
🎉 Yo ho ho! Smoke Copilot Safe Inputs found the treasure and completed successfully! ⚓💰 |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
🤖 DIAGNOSTIC COMPLETE: Smoke Copilot No Firewall STATUS: ALL_UNITS_OPERATIONAL. MISSION_SUCCESS. |
|
✅ Firewall validation complete... Smoke Codex Firewall confirmed network sandboxing is operational. 🛡️ |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
Smoke Test ResultsLast 2 Merged PRs:
Test Results:
Status: PASS (4/4 core tests)
|
Smoke Test Results (Claude Sonnet 4.5)Last 2 merged PRs:
Tests: Status: PASS (5/6 tests passed)
|
|
Smoke Test Results for Copilot Engine Last 2 Merged PRs:
Test Results:
Overall: PASS cc @pelikhan
|
|
Recent merged PRs: Document CLI version changes: Codex 0.74.0+ and GitHub MCP Server v0.26.0+; [WIP] Fix markdown lint issues and inconsistencies
|
Smoke Test ResultsLast 2 Merged PRs: Unable to retrieve (GitHub MCP not configured) Overall Status: PARTIAL PASS (3/5 tests passed)
|
|
Smoke test results:
|
The .prompt.md file is a duplicate of .agent.md and is not used anywhere in the codebase. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Fix create-agentic-workflow agent prompting patterns
✅ All Requirements Implemented
1. Workflow .md file location in .github/workflows folder
.github/workflows/folder2. Do not recommend GitHub remote mode
3. Use fuzzy schedule syntax for daily/weekly schedules
cron: dailytoschedule: daily, addedschedule: weeklysupport4. Copilot is the default, do not add to template
engine: copilotfrom example templates, updated guidance text5. Add close-older-issue/discussion flag for daily reporting workflows
6. Use skip-if-match for daily improver workflows that create PRs
7. Always add workflow_dispatch trigger
Files Modified
.github/agents/create-agentic-workflow.agent.mdpkg/cli/templates/create-agentic-workflow.agent.md(deleted - duplicate file)pkg/cli/templates/create-agentic-workflow.prompt.mdTesting & Verification
make buildmake test-unitAdditional Improvements
.prompt.mdfile per feedbackOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.